﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/MainUI.ui
*/



@UIBind('UI/MainUI.ui')
export default class MainUI_Generate extends UIScript {
		private con_jump_Internal: mw.Canvas
	public get con_jump(): mw.Canvas {
		if(!this.con_jump_Internal&&this.uiWidgetBase) {
			this.con_jump_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_jump') as mw.Canvas
		}
		return this.con_jump_Internal
	}
	private btn_jump_Internal: mw.Button
	public get btn_jump(): mw.Button {
		if(!this.btn_jump_Internal&&this.uiWidgetBase) {
			this.btn_jump_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_jump/btn_jump') as mw.Button
		}
		return this.btn_jump_Internal
	}
	private con_money_Internal: mw.Canvas
	public get con_money(): mw.Canvas {
		if(!this.con_money_Internal&&this.uiWidgetBase) {
			this.con_money_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_money') as mw.Canvas
		}
		return this.con_money_Internal
	}
	private txt_money_Internal: mw.TextBlock
	public get txt_money(): mw.TextBlock {
		if(!this.txt_money_Internal&&this.uiWidgetBase) {
			this.txt_money_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_money/txt_money') as mw.TextBlock
		}
		return this.txt_money_Internal
	}
	private con_reset_Internal: mw.Canvas
	public get con_reset(): mw.Canvas {
		if(!this.con_reset_Internal&&this.uiWidgetBase) {
			this.con_reset_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_reset') as mw.Canvas
		}
		return this.con_reset_Internal
	}
	private btn_reset_position_Internal: mw.Button
	public get btn_reset_position(): mw.Button {
		if(!this.btn_reset_position_Internal&&this.uiWidgetBase) {
			this.btn_reset_position_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_reset/btn_reset_position') as mw.Button
		}
		return this.btn_reset_position_Internal
	}
	private btn_reset_position_mask_Internal: mw.MaskButton
	public get btn_reset_position_mask(): mw.MaskButton {
		if(!this.btn_reset_position_mask_Internal&&this.uiWidgetBase) {
			this.btn_reset_position_mask_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_reset/btn_reset_position_mask') as mw.MaskButton
		}
		return this.btn_reset_position_mask_Internal
	}
	private con_grow_Internal: mw.Canvas
	public get con_grow(): mw.Canvas {
		if(!this.con_grow_Internal&&this.uiWidgetBase) {
			this.con_grow_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_grow') as mw.Canvas
		}
		return this.con_grow_Internal
	}
	private btn_grow_Internal: mw.Button
	public get btn_grow(): mw.Button {
		if(!this.btn_grow_Internal&&this.uiWidgetBase) {
			this.btn_grow_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_grow/btn_grow') as mw.Button
		}
		return this.btn_grow_Internal
	}
	private con_reset_game_Internal: mw.Canvas
	public get con_reset_game(): mw.Canvas {
		if(!this.con_reset_game_Internal&&this.uiWidgetBase) {
			this.con_reset_game_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_reset_game') as mw.Canvas
		}
		return this.con_reset_game_Internal
	}
	private btn_reset_game_Internal: mw.Button
	public get btn_reset_game(): mw.Button {
		if(!this.btn_reset_game_Internal&&this.uiWidgetBase) {
			this.btn_reset_game_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_reset_game/btn_reset_game') as mw.Button
		}
		return this.btn_reset_game_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 